[DEPRECATED] Use form field endpoints instead. Update a specific custom field option by id
curl --request PUT \
--url https://api.rootly.com/v1/custom_field_options/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "custom_field_options",
"attributes": {
"value": "<string>",
"color": "<string>",
"default": true,
"position": 123
}
}
}
'{
"data": {
"id": "<string>",
"type": "custom_field_options",
"attributes": {
"value": "<string>",
"color": "<string>",
"position": 123,
"created_at": "<string>",
"updated_at": "<string>",
"custom_field_id": 123,
"default": true
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
custom_field_options custom_field_option updated
Show child attributes
Unique ID of the custom_field_option
custom_field_options Show child attributes
The value of the custom_field_option
The hex color of the custom_field_option
The position of the custom_field_option
Date of creation
Date of last update
The ID of the parent custom field
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/custom_field_options/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "custom_field_options",
"attributes": {
"value": "<string>",
"color": "<string>",
"default": true,
"position": 123
}
}
}
'{
"data": {
"id": "<string>",
"type": "custom_field_options",
"attributes": {
"value": "<string>",
"color": "<string>",
"position": 123,
"created_at": "<string>",
"updated_at": "<string>",
"custom_field_id": 123,
"default": true
}
}
}